package xupt.se.ttms.idao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import xupt.se.ttms.model.Customer;


public interface iCustomerDAO {
	
	public boolean execInsert(Customer customer) throws Exception;
	public boolean execUpdate(Customer customer) throws Exception;
	public List<Customer> HandleCustomerResultSet(ResultSet rs) throws SQLException;
	
	public ResultSet execQuery(String str) throws Exception;
	public ResultSet execQuery(int i)throws Exception ;
	public ResultSet exexQueryAll()throws Exception;
	//通过主键删除，所以只有一个
	public boolean execDelete(int i) throws Exception ;
	
	public ResultSet execQueryNormal(String level) throws Exception;
	
	public ResultSet execQueryVip(String level) throws Exception;
	
}
